package com.woniuxy.ticketgateway;

import com.woniuxy.commnes.entity.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName AuthService
 * @Description TODO
 * @Author zx
 * @Date 2021-03-04 17:29:47
 * @Version 1.0
 */
@FeignClient("ticket-auth")
public interface AuthService {
    @GetMapping("auth/parsejwt")
    ResponseResult<Void> parseJwt(@RequestParam("jwt") String jwt,@RequestParam("url")String url);
}
